#ifndef _TBFILEMANAGER_H_
#define _TBFILEMANAGER_H_

#include "TBSettings.h"

#include "TBString2.h"

namespace tb
{

	struct TB_DLL_FUNC FileManager
	{

		static char* GetWorkingDirectory();
		static tb::String AddWorkingDirectory(const char* a_FilePath);
		static tb::String GetDirectory(const char* a_FilePath);
		static bool GetFileExists(const char* a_FilePath);

		static char s_Output[256];

	private:

		static char s_WorkingDirectory[256];
		static bool s_Init;

	}; // struct FileManager

}; // namespace tb

#endif